package cn.caijiapeng.spt.validate;

import com.jfinal.core.Controller;

import cn.caijiapeng.spt.validate.base.BaseValidate;

public class FeedBackSaveValid extends BaseValidate{

	@Override
	protected void validate(Controller c) {
		validateRequired("title", "msg", "反馈标题不能为空");
		validateString("title", 1, 60, "msg", "标题不能超过60个字符");
		validateRequired("content", "msg", "反馈内容不能为空");
		validateString("content", 1, 2048, "msg", "内容不能超过2048个字符");
		
	}
	
}
